"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLevel = exports.ADMIN_LEVEL = void 0;
const LEVEL_CODE = ['oneLevel', 'twoLevel', 'threeLevel', 'fourLevel', 'fiveLevel'];
exports.ADMIN_LEVEL = 10000;
function getLevel(levelCode = 'fiveLevel') {
    const length = LEVEL_CODE.length;
    const level = LEVEL_CODE.indexOf(levelCode);
    return (level > -1) ? length - level : 0;
}
exports.getLevel = getLevel;
